# Form implementation generated from reading ui file 'src/eric7/CycloneDXInterface/CycloneDXConfigDialog.ui'
#
# Created by: PyQt6 UI code generator 6.9.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_CycloneDXConfigDialog(object):
    def setupUi(self, CycloneDXConfigDialog):
        CycloneDXConfigDialog.setObjectName("CycloneDXConfigDialog")
        CycloneDXConfigDialog.resize(650, 330)
        CycloneDXConfigDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(CycloneDXConfigDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(parent=CycloneDXConfigDialog)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.environmentLabel = QtWidgets.QLabel(parent=CycloneDXConfigDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.environmentLabel.sizePolicy().hasHeightForWidth())
        self.environmentLabel.setSizePolicy(sizePolicy)
        self.environmentLabel.setWordWrap(True)
        self.environmentLabel.setObjectName("environmentLabel")
        self.horizontalLayout_2.addWidget(self.environmentLabel)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.groupBox = QtWidgets.QGroupBox(parent=CycloneDXConfigDialog)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.environmentButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.environmentButton.setChecked(True)
        self.environmentButton.setObjectName("environmentButton")
        self.horizontalLayout_3.addWidget(self.environmentButton)
        self.pipenvButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.pipenvButton.setObjectName("pipenvButton")
        self.horizontalLayout_3.addWidget(self.pipenvButton)
        self.poetryButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.poetryButton.setObjectName("poetryButton")
        self.horizontalLayout_3.addWidget(self.poetryButton)
        self.requirementsButton = QtWidgets.QRadioButton(parent=self.groupBox)
        self.requirementsButton.setObjectName("requirementsButton")
        self.horizontalLayout_3.addWidget(self.requirementsButton)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pyprojectLabel = QtWidgets.QLabel(parent=self.groupBox)
        self.pyprojectLabel.setObjectName("pyprojectLabel")
        self.horizontalLayout.addWidget(self.pyprojectLabel)
        self.pyprojectFilePicker = EricPathPicker(parent=self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pyprojectFilePicker.sizePolicy().hasHeightForWidth())
        self.pyprojectFilePicker.setSizePolicy(sizePolicy)
        self.pyprojectFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
        self.pyprojectFilePicker.setObjectName("pyprojectFilePicker")
        self.horizontalLayout.addWidget(self.pyprojectFilePicker)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_5 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_4.addWidget(self.label_5)
        self.mainComponentTypeComboBox = QtWidgets.QComboBox(parent=self.groupBox)
        self.mainComponentTypeComboBox.setObjectName("mainComponentTypeComboBox")
        self.horizontalLayout_4.addWidget(self.mainComponentTypeComboBox)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(parent=CycloneDXConfigDialog)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem1 = QtWidgets.QSpacerItem(413, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.outputFilePicker = EricPathPicker(parent=self.groupBox_2)
        self.outputFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
        self.outputFilePicker.setObjectName("outputFilePicker")
        self.gridLayout.addWidget(self.outputFilePicker, 2, 1, 1, 2)
        self.fileFormatComboBox = QtWidgets.QComboBox(parent=self.groupBox_2)
        self.fileFormatComboBox.setObjectName("fileFormatComboBox")
        self.fileFormatComboBox.addItem("")
        self.fileFormatComboBox.addItem("")
        self.gridLayout.addWidget(self.fileFormatComboBox, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.specVersionComboBox = QtWidgets.QComboBox(parent=self.groupBox_2)
        self.specVersionComboBox.setObjectName("specVersionComboBox")
        self.gridLayout.addWidget(self.specVersionComboBox, 1, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=CycloneDXConfigDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(CycloneDXConfigDialog)
        self.buttonBox.accepted.connect(CycloneDXConfigDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(CycloneDXConfigDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(CycloneDXConfigDialog)
        CycloneDXConfigDialog.setTabOrder(self.environmentButton, self.pipenvButton)
        CycloneDXConfigDialog.setTabOrder(self.pipenvButton, self.poetryButton)
        CycloneDXConfigDialog.setTabOrder(self.poetryButton, self.requirementsButton)
        CycloneDXConfigDialog.setTabOrder(self.requirementsButton, self.pyprojectFilePicker)
        CycloneDXConfigDialog.setTabOrder(self.pyprojectFilePicker, self.mainComponentTypeComboBox)
        CycloneDXConfigDialog.setTabOrder(self.mainComponentTypeComboBox, self.fileFormatComboBox)
        CycloneDXConfigDialog.setTabOrder(self.fileFormatComboBox, self.specVersionComboBox)
        CycloneDXConfigDialog.setTabOrder(self.specVersionComboBox, self.outputFilePicker)

    def retranslateUi(self, CycloneDXConfigDialog):
        _translate = QtCore.QCoreApplication.translate
        CycloneDXConfigDialog.setWindowTitle(_translate("CycloneDXConfigDialog", "SBOM Configuration"))
        self.label.setText(_translate("CycloneDXConfigDialog", "Environment:"))
        self.groupBox.setTitle(_translate("CycloneDXConfigDialog", "Input"))
        self.environmentButton.setToolTip(_translate("CycloneDXConfigDialog", "Select to build SBOM from environment"))
        self.environmentButton.setText(_translate("CycloneDXConfigDialog", "Environment"))
        self.pipenvButton.setToolTip(_translate("CycloneDXConfigDialog", "Select to build SBOM from \'Pipfile.lock\' file"))
        self.pipenvButton.setText(_translate("CycloneDXConfigDialog", "PipEnv"))
        self.poetryButton.setToolTip(_translate("CycloneDXConfigDialog", "Select to build SBOM from \'poetry.lock\' file"))
        self.poetryButton.setText(_translate("CycloneDXConfigDialog", "Poetry"))
        self.requirementsButton.setToolTip(_translate("CycloneDXConfigDialog", "Select to build SBOM from \'requirements.txt\' file"))
        self.requirementsButton.setText(_translate("CycloneDXConfigDialog", "Requirements"))
        self.pyprojectLabel.setText(_translate("CycloneDXConfigDialog", "pyproject.toml File:"))
        self.pyprojectFilePicker.setToolTip(_translate("CycloneDXConfigDialog", "Enter the file path for the SBOM file (leave empty for default)"))
        self.label_5.setText(_translate("CycloneDXConfigDialog", "Main Component Type:"))
        self.mainComponentTypeComboBox.setToolTip(_translate("CycloneDXConfigDialog", "Select the type of the main component"))
        self.groupBox_2.setTitle(_translate("CycloneDXConfigDialog", "SBOM Output"))
        self.label_4.setText(_translate("CycloneDXConfigDialog", "File Name:"))
        self.label_3.setText(_translate("CycloneDXConfigDialog", "Spec Version:"))
        self.outputFilePicker.setToolTip(_translate("CycloneDXConfigDialog", "Enter the file path for the SBOM file (leave empty for default)"))
        self.fileFormatComboBox.setToolTip(_translate("CycloneDXConfigDialog", "Select the format of the SBOM file"))
        self.fileFormatComboBox.setItemText(0, _translate("CycloneDXConfigDialog", "JSON"))
        self.fileFormatComboBox.setItemText(1, _translate("CycloneDXConfigDialog", "XML"))
        self.label_2.setText(_translate("CycloneDXConfigDialog", "File Format:"))
        self.specVersionComboBox.setToolTip(_translate("CycloneDXConfigDialog", "Select the SBOM spec version of the SBOM file"))
from eric7.EricWidgets.EricPathPicker import EricPathPicker
